package com.ibiaoke.order.entity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class GoodsRushExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart;

    protected int limitEnd;

    protected String groupByClause;

    public GoodsRushExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause=groupByClause;
    }

    public String getGroupByClause() {
        return groupByClause;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andRushIdIsNull() {
            addCriterion("rush_id is null");
            return (Criteria) this;
        }

        public Criteria andRushIdIsNotNull() {
            addCriterion("rush_id is not null");
            return (Criteria) this;
        }

        public Criteria andRushIdEqualTo(Integer value) {
            addCriterion("rush_id =", value, "rushId");
            return (Criteria) this;
        }

        public Criteria andRushIdNotEqualTo(Integer value) {
            addCriterion("rush_id <>", value, "rushId");
            return (Criteria) this;
        }

        public Criteria andRushIdGreaterThan(Integer value) {
            addCriterion("rush_id >", value, "rushId");
            return (Criteria) this;
        }

        public Criteria andRushIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("rush_id >=", value, "rushId");
            return (Criteria) this;
        }

        public Criteria andRushIdLessThan(Integer value) {
            addCriterion("rush_id <", value, "rushId");
            return (Criteria) this;
        }

        public Criteria andRushIdLessThanOrEqualTo(Integer value) {
            addCriterion("rush_id <=", value, "rushId");
            return (Criteria) this;
        }

        public Criteria andRushIdIn(List<Integer> values) {
            addCriterion("rush_id in", values, "rushId");
            return (Criteria) this;
        }

        public Criteria andRushIdNotIn(List<Integer> values) {
            addCriterion("rush_id not in", values, "rushId");
            return (Criteria) this;
        }

        public Criteria andRushIdBetween(Integer value1, Integer value2) {
            addCriterion("rush_id between", value1, value2, "rushId");
            return (Criteria) this;
        }

        public Criteria andRushIdNotBetween(Integer value1, Integer value2) {
            addCriterion("rush_id not between", value1, value2, "rushId");
            return (Criteria) this;
        }

        public Criteria andRushTitleIsNull() {
            addCriterion("rush_title is null");
            return (Criteria) this;
        }

        public Criteria andRushTitleIsNotNull() {
            addCriterion("rush_title is not null");
            return (Criteria) this;
        }

        public Criteria andRushTitleEqualTo(String value) {
            addCriterion("rush_title =", value, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleNotEqualTo(String value) {
            addCriterion("rush_title <>", value, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleGreaterThan(String value) {
            addCriterion("rush_title >", value, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleGreaterThanOrEqualTo(String value) {
            addCriterion("rush_title >=", value, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleLessThan(String value) {
            addCriterion("rush_title <", value, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleLessThanOrEqualTo(String value) {
            addCriterion("rush_title <=", value, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleLike(String value) {
            addCriterion("rush_title like", value, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleNotLike(String value) {
            addCriterion("rush_title not like", value, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleIn(List<String> values) {
            addCriterion("rush_title in", values, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleNotIn(List<String> values) {
            addCriterion("rush_title not in", values, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleBetween(String value1, String value2) {
            addCriterion("rush_title between", value1, value2, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushTitleNotBetween(String value1, String value2) {
            addCriterion("rush_title not between", value1, value2, "rushTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleIsNull() {
            addCriterion("rush_sub_title is null");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleIsNotNull() {
            addCriterion("rush_sub_title is not null");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleEqualTo(String value) {
            addCriterion("rush_sub_title =", value, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleNotEqualTo(String value) {
            addCriterion("rush_sub_title <>", value, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleGreaterThan(String value) {
            addCriterion("rush_sub_title >", value, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleGreaterThanOrEqualTo(String value) {
            addCriterion("rush_sub_title >=", value, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleLessThan(String value) {
            addCriterion("rush_sub_title <", value, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleLessThanOrEqualTo(String value) {
            addCriterion("rush_sub_title <=", value, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleLike(String value) {
            addCriterion("rush_sub_title like", value, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleNotLike(String value) {
            addCriterion("rush_sub_title not like", value, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleIn(List<String> values) {
            addCriterion("rush_sub_title in", values, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleNotIn(List<String> values) {
            addCriterion("rush_sub_title not in", values, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleBetween(String value1, String value2) {
            addCriterion("rush_sub_title between", value1, value2, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushSubTitleNotBetween(String value1, String value2) {
            addCriterion("rush_sub_title not between", value1, value2, "rushSubTitle");
            return (Criteria) this;
        }

        public Criteria andRushImageIsNull() {
            addCriterion("rush_image is null");
            return (Criteria) this;
        }

        public Criteria andRushImageIsNotNull() {
            addCriterion("rush_image is not null");
            return (Criteria) this;
        }

        public Criteria andRushImageEqualTo(String value) {
            addCriterion("rush_image =", value, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageNotEqualTo(String value) {
            addCriterion("rush_image <>", value, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageGreaterThan(String value) {
            addCriterion("rush_image >", value, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageGreaterThanOrEqualTo(String value) {
            addCriterion("rush_image >=", value, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageLessThan(String value) {
            addCriterion("rush_image <", value, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageLessThanOrEqualTo(String value) {
            addCriterion("rush_image <=", value, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageLike(String value) {
            addCriterion("rush_image like", value, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageNotLike(String value) {
            addCriterion("rush_image not like", value, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageIn(List<String> values) {
            addCriterion("rush_image in", values, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageNotIn(List<String> values) {
            addCriterion("rush_image not in", values, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageBetween(String value1, String value2) {
            addCriterion("rush_image between", value1, value2, "rushImage");
            return (Criteria) this;
        }

        public Criteria andRushImageNotBetween(String value1, String value2) {
            addCriterion("rush_image not between", value1, value2, "rushImage");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNull() {
            addCriterion("goods_id is null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIsNotNull() {
            addCriterion("goods_id is not null");
            return (Criteria) this;
        }

        public Criteria andGoodsIdEqualTo(Integer value) {
            addCriterion("goods_id =", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotEqualTo(Integer value) {
            addCriterion("goods_id <>", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThan(Integer value) {
            addCriterion("goods_id >", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("goods_id >=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThan(Integer value) {
            addCriterion("goods_id <", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdLessThanOrEqualTo(Integer value) {
            addCriterion("goods_id <=", value, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdIn(List<Integer> values) {
            addCriterion("goods_id in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotIn(List<Integer> values) {
            addCriterion("goods_id not in", values, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdBetween(Integer value1, Integer value2) {
            addCriterion("goods_id between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andGoodsIdNotBetween(Integer value1, Integer value2) {
            addCriterion("goods_id not between", value1, value2, "goodsId");
            return (Criteria) this;
        }

        public Criteria andLimitNumIsNull() {
            addCriterion("limit_num is null");
            return (Criteria) this;
        }

        public Criteria andLimitNumIsNotNull() {
            addCriterion("limit_num is not null");
            return (Criteria) this;
        }

        public Criteria andLimitNumEqualTo(Integer value) {
            addCriterion("limit_num =", value, "limitNum");
            return (Criteria) this;
        }

        public Criteria andLimitNumNotEqualTo(Integer value) {
            addCriterion("limit_num <>", value, "limitNum");
            return (Criteria) this;
        }

        public Criteria andLimitNumGreaterThan(Integer value) {
            addCriterion("limit_num >", value, "limitNum");
            return (Criteria) this;
        }

        public Criteria andLimitNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("limit_num >=", value, "limitNum");
            return (Criteria) this;
        }

        public Criteria andLimitNumLessThan(Integer value) {
            addCriterion("limit_num <", value, "limitNum");
            return (Criteria) this;
        }

        public Criteria andLimitNumLessThanOrEqualTo(Integer value) {
            addCriterion("limit_num <=", value, "limitNum");
            return (Criteria) this;
        }

        public Criteria andLimitNumIn(List<Integer> values) {
            addCriterion("limit_num in", values, "limitNum");
            return (Criteria) this;
        }

        public Criteria andLimitNumNotIn(List<Integer> values) {
            addCriterion("limit_num not in", values, "limitNum");
            return (Criteria) this;
        }

        public Criteria andLimitNumBetween(Integer value1, Integer value2) {
            addCriterion("limit_num between", value1, value2, "limitNum");
            return (Criteria) this;
        }

        public Criteria andLimitNumNotBetween(Integer value1, Integer value2) {
            addCriterion("limit_num not between", value1, value2, "limitNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumIsNull() {
            addCriterion("total_num is null");
            return (Criteria) this;
        }

        public Criteria andTotalNumIsNotNull() {
            addCriterion("total_num is not null");
            return (Criteria) this;
        }

        public Criteria andTotalNumEqualTo(Integer value) {
            addCriterion("total_num =", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotEqualTo(Integer value) {
            addCriterion("total_num <>", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumGreaterThan(Integer value) {
            addCriterion("total_num >", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_num >=", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumLessThan(Integer value) {
            addCriterion("total_num <", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumLessThanOrEqualTo(Integer value) {
            addCriterion("total_num <=", value, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumIn(List<Integer> values) {
            addCriterion("total_num in", values, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotIn(List<Integer> values) {
            addCriterion("total_num not in", values, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumBetween(Integer value1, Integer value2) {
            addCriterion("total_num between", value1, value2, "totalNum");
            return (Criteria) this;
        }

        public Criteria andTotalNumNotBetween(Integer value1, Integer value2) {
            addCriterion("total_num not between", value1, value2, "totalNum");
            return (Criteria) this;
        }

        public Criteria andRemainNumIsNull() {
            addCriterion("remain_num is null");
            return (Criteria) this;
        }

        public Criteria andRemainNumIsNotNull() {
            addCriterion("remain_num is not null");
            return (Criteria) this;
        }

        public Criteria andRemainNumEqualTo(Integer value) {
            addCriterion("remain_num =", value, "remainNum");
            return (Criteria) this;
        }

        public Criteria andRemainNumNotEqualTo(Integer value) {
            addCriterion("remain_num <>", value, "remainNum");
            return (Criteria) this;
        }

        public Criteria andRemainNumGreaterThan(Integer value) {
            addCriterion("remain_num >", value, "remainNum");
            return (Criteria) this;
        }

        public Criteria andRemainNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("remain_num >=", value, "remainNum");
            return (Criteria) this;
        }

        public Criteria andRemainNumLessThan(Integer value) {
            addCriterion("remain_num <", value, "remainNum");
            return (Criteria) this;
        }

        public Criteria andRemainNumLessThanOrEqualTo(Integer value) {
            addCriterion("remain_num <=", value, "remainNum");
            return (Criteria) this;
        }

        public Criteria andRemainNumIn(List<Integer> values) {
            addCriterion("remain_num in", values, "remainNum");
            return (Criteria) this;
        }

        public Criteria andRemainNumNotIn(List<Integer> values) {
            addCriterion("remain_num not in", values, "remainNum");
            return (Criteria) this;
        }

        public Criteria andRemainNumBetween(Integer value1, Integer value2) {
            addCriterion("remain_num between", value1, value2, "remainNum");
            return (Criteria) this;
        }

        public Criteria andRemainNumNotBetween(Integer value1, Integer value2) {
            addCriterion("remain_num not between", value1, value2, "remainNum");
            return (Criteria) this;
        }

        public Criteria andOldPriceIsNull() {
            addCriterion("old_price is null");
            return (Criteria) this;
        }

        public Criteria andOldPriceIsNotNull() {
            addCriterion("old_price is not null");
            return (Criteria) this;
        }

        public Criteria andOldPriceEqualTo(BigDecimal value) {
            addCriterion("old_price =", value, "oldPrice");
            return (Criteria) this;
        }

        public Criteria andOldPriceNotEqualTo(BigDecimal value) {
            addCriterion("old_price <>", value, "oldPrice");
            return (Criteria) this;
        }

        public Criteria andOldPriceGreaterThan(BigDecimal value) {
            addCriterion("old_price >", value, "oldPrice");
            return (Criteria) this;
        }

        public Criteria andOldPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("old_price >=", value, "oldPrice");
            return (Criteria) this;
        }

        public Criteria andOldPriceLessThan(BigDecimal value) {
            addCriterion("old_price <", value, "oldPrice");
            return (Criteria) this;
        }

        public Criteria andOldPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("old_price <=", value, "oldPrice");
            return (Criteria) this;
        }

        public Criteria andOldPriceIn(List<BigDecimal> values) {
            addCriterion("old_price in", values, "oldPrice");
            return (Criteria) this;
        }

        public Criteria andOldPriceNotIn(List<BigDecimal> values) {
            addCriterion("old_price not in", values, "oldPrice");
            return (Criteria) this;
        }

        public Criteria andOldPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("old_price between", value1, value2, "oldPrice");
            return (Criteria) this;
        }

        public Criteria andOldPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("old_price not between", value1, value2, "oldPrice");
            return (Criteria) this;
        }

        public Criteria andRushPriceIsNull() {
            addCriterion("rush_price is null");
            return (Criteria) this;
        }

        public Criteria andRushPriceIsNotNull() {
            addCriterion("rush_price is not null");
            return (Criteria) this;
        }

        public Criteria andRushPriceEqualTo(BigDecimal value) {
            addCriterion("rush_price =", value, "rushPrice");
            return (Criteria) this;
        }

        public Criteria andRushPriceNotEqualTo(BigDecimal value) {
            addCriterion("rush_price <>", value, "rushPrice");
            return (Criteria) this;
        }

        public Criteria andRushPriceGreaterThan(BigDecimal value) {
            addCriterion("rush_price >", value, "rushPrice");
            return (Criteria) this;
        }

        public Criteria andRushPriceGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("rush_price >=", value, "rushPrice");
            return (Criteria) this;
        }

        public Criteria andRushPriceLessThan(BigDecimal value) {
            addCriterion("rush_price <", value, "rushPrice");
            return (Criteria) this;
        }

        public Criteria andRushPriceLessThanOrEqualTo(BigDecimal value) {
            addCriterion("rush_price <=", value, "rushPrice");
            return (Criteria) this;
        }

        public Criteria andRushPriceIn(List<BigDecimal> values) {
            addCriterion("rush_price in", values, "rushPrice");
            return (Criteria) this;
        }

        public Criteria andRushPriceNotIn(List<BigDecimal> values) {
            addCriterion("rush_price not in", values, "rushPrice");
            return (Criteria) this;
        }

        public Criteria andRushPriceBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rush_price between", value1, value2, "rushPrice");
            return (Criteria) this;
        }

        public Criteria andRushPriceNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("rush_price not between", value1, value2, "rushPrice");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNull() {
            addCriterion("begin_time is null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIsNotNull() {
            addCriterion("begin_time is not null");
            return (Criteria) this;
        }

        public Criteria andBeginTimeEqualTo(Date value) {
            addCriterion("begin_time =", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotEqualTo(Date value) {
            addCriterion("begin_time <>", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThan(Date value) {
            addCriterion("begin_time >", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("begin_time >=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThan(Date value) {
            addCriterion("begin_time <", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeLessThanOrEqualTo(Date value) {
            addCriterion("begin_time <=", value, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeIn(List<Date> values) {
            addCriterion("begin_time in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotIn(List<Date> values) {
            addCriterion("begin_time not in", values, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeBetween(Date value1, Date value2) {
            addCriterion("begin_time between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andBeginTimeNotBetween(Date value1, Date value2) {
            addCriterion("begin_time not between", value1, value2, "beginTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNull() {
            addCriterion("end_time is null");
            return (Criteria) this;
        }

        public Criteria andEndTimeIsNotNull() {
            addCriterion("end_time is not null");
            return (Criteria) this;
        }

        public Criteria andEndTimeEqualTo(Date value) {
            addCriterion("end_time =", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotEqualTo(Date value) {
            addCriterion("end_time <>", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThan(Date value) {
            addCriterion("end_time >", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("end_time >=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThan(Date value) {
            addCriterion("end_time <", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("end_time <=", value, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeIn(List<Date> values) {
            addCriterion("end_time in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotIn(List<Date> values) {
            addCriterion("end_time not in", values, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeBetween(Date value1, Date value2) {
            addCriterion("end_time between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("end_time not between", value1, value2, "endTime");
            return (Criteria) this;
        }

        public Criteria andDelStatusIsNull() {
            addCriterion("del_status is null");
            return (Criteria) this;
        }

        public Criteria andDelStatusIsNotNull() {
            addCriterion("del_status is not null");
            return (Criteria) this;
        }

        public Criteria andDelStatusEqualTo(Integer value) {
            addCriterion("del_status =", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusNotEqualTo(Integer value) {
            addCriterion("del_status <>", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusGreaterThan(Integer value) {
            addCriterion("del_status >", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("del_status >=", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusLessThan(Integer value) {
            addCriterion("del_status <", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusLessThanOrEqualTo(Integer value) {
            addCriterion("del_status <=", value, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusIn(List<Integer> values) {
            addCriterion("del_status in", values, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusNotIn(List<Integer> values) {
            addCriterion("del_status not in", values, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusBetween(Integer value1, Integer value2) {
            addCriterion("del_status between", value1, value2, "delStatus");
            return (Criteria) this;
        }

        public Criteria andDelStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("del_status not between", value1, value2, "delStatus");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}